Action hook '{$taxonomy}_pre_edit_form'

in WP Core File wp-admin/edit-tag-form.php at line 69

Description

Fires before the Edit Term form for all taxonomies. The dynamic portion of the hook name, `$taxonomy`, refers to the taxonomy slug. Possible hook names include: - `category_pre_edit_form` - `post_tag_pre_edit_form`

Occurrences

Filename Line Number
wp-admin/edit-tag-form.php 69

Parameters

Type Name Description
WP_Term $tag Current taxonomy term object.
string $taxonomy Current $taxonomy slug.

PHP Doc

/**
 * Fires before the Edit Term form for all taxonomies.
 *
 * The dynamic portion of the hook name, `$taxonomy`, refers to
 * the taxonomy slug.
 *
 * Possible hook names include:
 *
 *  - `category_pre_edit_form`
 *  - `post_tag_pre_edit_form`
 *
 * @since 3.0.0
 *
 * @param WP_Term $tag      Current taxonomy term object.
 * @param string  $taxonomy Current $taxonomy slug.
 */